<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Layout
 * @package App\Models
 * @version September 14, 2017, 9:06 am UTC
 *
 * @property integer image_type
 * @property integer skip_type
 * @property string image_name
 * @property string image2_name
 * @property integer skip_id
 * @property string skip_url
 * @property integer skip2_id
 * @property string skip2_url
 * @property string image
 * @property string image2
 * @property integer sort
 */
class Layout extends Model
{
    use SoftDeletes;

    public $table = 'layouts';
    

    protected $dates = ['deleted_at'];


    public $fillable = [
        'image_type',
        'skip_type',
        'image_name',
        'image2_name',
        'skip_id',
        'skip_url',
        'skip2_id',
        'skip2_url',
        'skip3_id',
        'skip3_url',
        'image',
        'image2',
        'image3',
        'sort'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'image_type' => 'integer',
        'skip_type' => 'integer',
        'image_name' => 'string',
        'image2_name' => 'string',
        'skip_id' => 'integer',
        'skip_url' => 'string',
        'skip2_id' => 'integer',
        'skip2_url' => 'string',
        'image' => 'string',
        'image2' => 'string',
        'sort' => 'integer'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        
    ];

    
}
